// 判断是否登录
const isLogin = () => {
  // 取token
  const token = localStorage.getItem('token')
  return !!token
}
export {
  isLogin
}
